<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::post('send_code', 'api/User/send_code');  //发送验证码
Route::post('regist', 'api/User/regist');  //用户注册
Route::post('login', 'api/User/login');  //用户登录
Route::post('update_userinfo', 'api/User/update_userinfo');  //更新用户信息
Route::post('get_userinfo', 'api/User/get_userinfo');  //获取用户信息
Route::post('change_pwd', 'api/User/change_pwd');  //修改密码
Route::post('forget_pwd', 'api/User/forget_pwd');  //忘记密码

Route::post('test', 'api/Test/test');  //更新用户信息